@import "./reset.scss";
@import "./header\,footer.scss";

html,
body {
    height: 100%;
    width: 100%;
}
.w1200 {
    width: 1200px;
    margin: 0 auto;
}
/*顶部banner*/
.topBan {
    .topBanner {
        height: 100px;
        background: rgb(165, 30, 35);
        position: relative;
        z-index: 20;

        .smallBanner {
            width: 1200px;
            height: 100px;
            position: absolute;
            top: 0;
            left: 50%;
            margin-left: -600px; /*居中*/
        }
        .smallInner {
            a {
                display: block;
            }
        }
    }
}

/*顶部工具栏*/
.topBar {
    background-color: #f2f2f2;
    position: relative;
    z-index: 10;

    .loginArea {
        // overflow: hidden;
        line-height: 30px;
        span {
            color: #666;
            margin-right: 7px;
        }
        a {
            color: #e60000;
        }
    }

    .webTool {
        ul {
            padding-top: 1px;
            li {
                float: left;
                position: relative;
            }
            a {
                text-decoration: none;
            }
        }
        .dt {
            height: 29px;
            line-height: 28px;
            padding: 0px 16px;
            display: block;
            border: 1px solid #f2f2f2; /*遮挡*/
            position: relative;
            z-index: 10;
            // background-color: #f2f2f2;/*遮挡*/
            .icon {
                background: url(../images/homeindex.png) no-repeat 0px 0px;
                position: absolute;
                width: 8px;
                height: 4px;
                left: 68px;
                top: 12px;
            }
        }
        // .dt:hover {
        //     background-color: #fff; /*遮挡*/
        //     border: 1px solid #dadada;
        //     border-bottom: none;
        //     .icon {
        //         background: url(../images/homeindex.png) no-repeat 0px -4px;
        //     }
        //     .dropLayer{
        //         display: block;
        //     }
        // }
        // .drop {
        //     // position: relative;
        // }
        .dropLayer {
            width: 162px;
            position: absolute;
            top: 29px;
            left: 0px;
            z-index: 9;
            padding-left: 12px;
            box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.1);
            display: none;
            background-color: #fff;

            a {
                float: left;
                color: #666;
                line-height: 24px;
                margin-bottom: 6px;
                width: 76px;
            }
            a:hover {
                text-decoration: underline;
            }
        }
        li:last-child() {
            .dropLayer {
                // background-color: pink;
                // left: -91px;
                left: initial;
                right: 0px;
                width: 164px;
                padding-bottom: 7px;
                padding-left: 5px;
                // display: none;
            }
        }
        .erweimaWrap {
            overflow: hidden;
            padding-top: 9px;
        }
        .erweima {
            width: 75px;
            height: 75px;
            float: left;
            img {
                width: 100%;
            }
        }
        .erweimaText {
            float: left;
            overflow: hidden;
            b {
                display: block;
                color: #e60000;
                margin-top: 5px;
            }
            span {
                color: #666;
                display: block;
                padding-top: 9px;
                line-height: 14px;
            }
        }
    }
}

/* 搜索栏*/
.searchBar {
    position: relative;
    height: 100px;
    z-index: 9;
    background: #fff;

    // .searchBarFixed {
    // }
    .log {
        width: 248px;
        padding: 21px 0px 25px 0px;
    }
    .searchArea {
        max-width: 715px;
        margin-top: 20px;

        a {
            float: left;
            color: #999;
            margin-right: 23px;
            text-decoration: none;
        }
        a :hover {
            color: red;
        }

        .searchForm {
            height: 36px;
            width: 606px;
            border: 2px solid #e60000;
            position: relative;
            // background-color: pink;
        }
        .inputWrap {
            width: 508px;
            padding: 8px 0px;
            input {
                // display: block;
                width: 100%;
                // height: 20px;
                // line-height: 20px;
                // vertical-align: middle;
                color: #666;
                text-indent: 1em;
            }
        }
        .searchBut {
            background-color: #e60000;
            color: #fff;
            height: 36px;
            line-height: 36px;
            width: 98px;
            text-align: center;
            text-decoration: none;
            margin: 0;
        }

        .dropSearch {
            background-color: #fff;
            width: 63px;
            height: 36px;
            position: absolute;
            top: 0px;
            right: 98px; /*?*/
            border-left: 1px solid #dbdbdb;
            padding: 0px 9px;

            dl {
                position: relative;
                color: #999;
                cursor: pointer;
                // text-align: center;
                dt {
                    height: 36px;
                    line-height: 36px;
                    text-align: center;
                    cursor: pointer;
                    span {
                        position: relative;
                        padding-right: 15px;
                    }
                    .icon {
                        width: 7px;
                        height: 4px;
                        background: url(../images/homeindex.png) no-repeat 0px -10px;
                        position: absolute;
                        top: 15px;
                        right: 0;
                    }
                }

                dd {
                    position: absolute;
                    top: 28px;
                    left: -10px;
                    width: 80px;
                    border: 1px solid #dbdbdb;
                    background: #fff;
                    line-height: 24px;
                    text-indent: 1em;
                    padding-top: 5px;
                    border-top: none;
                    display: none;

                    li {
                        color: #999999;
                        position: relative;
                    }
                    .cate_0 {
                        color: #e02626;
                        background: #f5f5f5;
                    }
                }
            }
            // dl:hover {
            //     .icon {
            //         background: url(../images/homeindex.png) no-repeat 0px -14px;
            //     }
            //     dd {
            //         display: block;
            //     }
            // }
        }
        .moreSearch {
            margin-left: 15px;
            line-height: 40px;
            a {
                color: #e60000;
            }
        }

        .hotWord {
            line-height: 28px;
            overflow: hidden;
            a:hover {
                color: #e60000;
            }
        }
    }
    .headPicFocus {
        float: left;
        margin-left: 36px;
    }
}

/*各种商品分类栏 侧栏*/
.nav {
    // background-color: pink;
    border-bottom: 2px solid #e60000;

    .booksClasses {
        width: 200px;
        height: 42px;
        background-color: #e60000;
        position: relative;
        cursor: pointer;

        h2 {
            color: #fff;
            margin-left: 42px;
            line-height: 42px;
            font-weight: normal;
            position: relative;
            background: url(../images/login.images/QQ截图20210107194717.jpg) no-repeat 110px 8px;
        }
        .icon {
            width: 16px;
            height: 15px;
            // background-color: #000;
            background: url(../images/homeindex.png) no-repeat -9px 0px;
            position: absolute;
            left: -26px;
            top: 14px;
        }
    }

    .otherClasses {
        // background-color: skyblue;
        li {
            float: left;
            margin: 0px 24px;
            line-height: 42px;
            a {
                text-decoration: none;
            }
        }
        li:first-child {
            a {
                color: #e60000;
                font-weight: bold;
            }
        }
        li:last-child {
            margin-right: 5px;
        }
        li.today {
            a {
                padding-left: 14px;
                background: url(../images/naozhong_icon.png) no-repeat left center;
            }
        }
        li.star {
            a {
                padding-left: 14px;
                background: url(../images/newfivestar.png) no-repeat left center;
            }
        }
    }

    .detail_category {
        width: 200px;
        height: 700px;
        display: none;

        .categoryInner {
            // border: 1px solid #e60000;
            border-top: 0px;
            background-color: #fff;
            position: relative;
            z-index: 2;
        }
        ul .js_toggle {
            padding: 2px;
            background: url(../images/cut/navline.jpg) no-repeat bottom center;
            border-left: 1px solid #e60000;
            border-right: 1px solid #e60000;
            vertical-align: bottom;
            position: relative;
            width: 194px;
            &:hover {
                padding-top: 0px;
                padding-bottom: 0;
                border: 2px solid #e60000;
            }
        }
        /* 小块列表 */
        .js_toggle .category-info {
            padding-left: 11px;
        }
        .category-name {
            padding-top: 8px;
            color: #e60000;
            position: relative;

            span {
                width: 16px;
                height: 16px;
                color: #666;
                font-style: 16px;
                position: absolute;
                top: 8px;
                right: 26px;
            }
        }
        .c-category-list {
            position: relative;
            margin: 7px 11px 0px 0px;
            line-height: 24px;
            padding-bottom: 10px;
            zoom: 1;
            a {
                color: #666;
                margin-right: 12px;
                white-space: nowrap;
                text-decoration: none;
                &:hover {
                    color: #e60000;
                }
            }
        }

        /*小块 影藏列表*/
        .menu-item {
            background-color: #cc3;
            position: absolute;
            left: 198px;
            top: 0px;
            width: 757px;
            border: 2px solid #e60000;
            background: #fff;
            zoom: 1;
            z-index: 11;
            .area-bag {
                padding: 10px 0px;
            }
        }
        .sublist {
            padding-left: 20px;

            li {
                overflow: hidden;
                padding: 9px 0px;
                border-bottom: 1px solid #f0f0f0;

                h3.mcate-item-hd {
                    width: 85px;
                    line-height: 24px;
                    font-size: 12px;
                    float: left;
                    a {
                        color: #e60000;
                        text-decoration: none;
                    }
                }

                p.mcate-item-bd {
                    width: 600px;
                    line-height: 24px;
                    overflow: hidden;
                    float: left;
                    a {
                        text-decoration: none;
                        margin: 0px 15px;
                        color: #666;
                        white-space: nowrap;
                        &:hover {
                            color: #e60000;
                        }
                    }
                    span {
                        color: #dbdbdb;
                    }
                }
            }
        }
        .all_category {
            text-align: right;
            border: 1px solid #e60000;
            border-top: none;
            a {
                color: #666;
                text-decoration: none;
            }
        }
        .minNav {
            background-color: #fff;
            margin-top: 10px;
            border: 1px solid #999;
            // dl {
            // }
            dt {
                height: 40px;
                line-height: 40px;
                font-size: 14px;
                color: #e60000;
                padding-left: 20px;
                border-bottom: 1px solid#dbdbdb;
                background: url(../images/shu_icon.png) no-repeat 10px center;
                // margin: 0px 10px;
                text-indent: 1em;
            }
            dd {
                height: 30px;
                line-height: 30px;
                border-bottom: 1px solid #dbdbdb;
                text-indent: 1em;
                a {
                    color: #666;
                    float: left;
                    text-decoration: none;
                    &:hover {
                        color: #e60000;
                    }
                }
                em {
                    float: right;
                    margin-right: 14px;
                }
            }
        }
    }
}

.content {
    width: 100%;

    .con1Line {
        // height: 500px;
        width: 100%;

        .con1-leader {
            ul {
                height: 30px;
                line-height: 30px;
            }
            li {
                float: left;
                a {
                    text-decoration: none;
                }
                em {
                    margin: 0px 10px;
                }
            }
        }
        .con1-con {
            .bookImg {
                width: 300px;
                height: 300px;
                border: 1px solid #dbdbdb;
                position: relative;
                background-color: #fff;
            }
            .middleImg {
                width: 300px;
                height: 300px;
                box-sizing: border-box;
                background: url(../images/detail.images/B7465311.jpg);
                span {
                    // display: block;
                    position: absolute;
                    right: 10px;
                    bottom: 10px;
                    width: 20px;
                    height: 20px;
                    background: url(../images/detail.images/childredSprit.png) no-repeat -296px -236px;
                }
                .middleArea {
                    width: (300px * 400/800);
                    height: 150px;
                    background: url(../images/detail.images/zoom_pup.png);
                    position: absolute;
                    z-index: 1;
                    cursor: move;
                    display: none;
                }
            }
            .share {
                margin: auto;
                width: 52px;
                overflow: hidden;
                margin-top: 5px;
                a {
                    background: url(../images/detail.images/childredSprit.png) no-repeat -438px -202px;
                    padding-left: 17px;
                    color: #e60000;
                }
            }
            .bigArea {
                height: 400px;
                width: 400px;
                position: absolute;
                // right: -405px;
                left: 304px;
                top: 0px;
                z-index: 666;
                overflow: hidden;
                .bigImg {
                    width: 800px;
                    position: absolute;
                }
                display: none;
            }
            .bookInfo {
                width: 570px;
                margin-left: 20px;

                .padLeft10 {
                    position: relative;
                    padding-left: 12px;
                    h1 {
                        line-height: 24px;
                        margin-top: 7px;
                        font-family: "Microsoft YaHei";
                        font-size: 18px;
                        color: #333333;
                    }
                    .author {
                        overflow: hidden;
                        line-height: 24px;
                        margin-top: 7px;
                        span {
                            float: left;
                            color: #666;
                        }
                        a {
                            float: left;
                            color: #024f7d;
                        }
                    }
                    .publisher {
                        overflow: hidden;
                        line-height: 24px;
                        margin-top: 3px;
                        span {
                            float: left;
                            color: #666;
                        }
                        a {
                            float: left;
                            color: #024f7d;
                            margin-right: 32px;
                        }
                        i {
                            float: left;
                            color: #666;
                        }
                    }
                    .otherInfor {
                        overflow: hidden;
                        line-height: 24px;
                        margin-top: 3px;
                        span {
                            float: left;
                            color: #666;
                        }
                        em {
                            float: left;
                            color: #666;
                            margin-right: 32px;
                        }
                        i {
                            float: left;
                            color: #666;
                        }
                    }
                    .sort {
                        height: 24px;
                        overflow: hidden;
                        line-height: 24px;
                        margin-top: 3px;
                        a {
                            float: left;
                            color: #024f7d;
                        }
                        span {
                            float: left;
                            color: #666;
                        }
                    }
                }
                .priceWrap {
                    margin-top: 15px;
                    background: #fff4f4;
                    padding: 10px 0 10px 10px;
                    height: 28px;
                    line-height: 28px;
                    overflow: hidden;
                    span {
                        float: left;
                    }
                    .sellPriceTit {
                        color: #666;
                    }
                    .sellPrice {
                        color: #e60000;
                        font-size: 18px;
                        font-family: "Microsoft YaHei";
                        margin-left: 10px;
                    }
                    .discount {
                        float: left;
                        color: #666666;
                        margin-left: 10px;
                        margin-top: 3px;
                    }
                    .priceTit {
                        float: left;
                        color: #999999;
                        margin-left: 30px;
                        margin-top: 3px;
                    }
                    del {
                        float: left;
                        color: #999999;
                        margin-top: 3px;
                    }
                    a {
                        float: left;
                        color: #024f7d;
                        margin-left: 13px;
                        margin-top: 3px;
                    }
                }
                .oparateButton {
                    padding: 15px 0 10px;
                    a {
                        height: 35px;
                        float: left;
                        margin-right: 10px;
                    }
                    .buyButton {
                        width: 160px;
                        line-height: 32px;
                        text-indent: 45px;
                        color: #fff;
                        font-size: 16px;
                        font-family: "Microsoft YaHei";
                        background: url(../images/detail.images/childredSprit.png) no-repeat -335px -262px;
                        text-decoration: none;
                    }
                    .collectBtn {
                        border: 1px solid #e60000;
                        border-radius: 5px;
                        height: 33px;
                        line-height: 33px;
                        text-align: center;
                        width: 88px;
                        line-height: 32px;
                        color: #e60000;
                        text-decoration: none;
                    }
                    .freightPolicyWrap {
                        float: left;
                        margin-left: 15px;
                        position: relative;
                        cursor: auto;
                        color: #666666;
                        span {
                            display: block;
                            height: 35px;
                            width: auto;
                            padding-left: 18px;
                            padding-right: 0px;
                            line-height: 36px;
                            color: #024f7d;
                            cursor: pointer;
                            position: relative;
                            top: -4px;
                        }
                        .freightCon {
                            position: absolute;
                            display: none;
                            z-index: 100;
                            background: #fff;
                            width: 370px;
                            top: 40px;
                            left: 0px;
                            .reightPolicy {
                                border: 1px solid #e9e9e9;
                                line-height: 16px;
                                padding: 3px 0 3px 10px;
                                position: relative;
                                color: #666;
                                border-color: #999;
                            }
                        }
                    }
                }
            }
        }
    }

    .con2Line {
        height: 400px;
        margin-top: 40px;

        .con2-left {
            img {
                width: 200px;
            }
            .classPush {
                margin-top: 20px;
            }
            .v-history {
                margin-top: 20px;
                padding-bottom: 20px;
            }
        }
        .con2-right {
            img {
                width: 980px;
                margin: 2px 10px;
            }
            ul {
                box-shadow: 0px 3px 30px #ddd;
                background: #fff;
                float: left;
                overflow: hidden;
                li {
                    float: left;
                    width: 180px;
                    height: 55px;
                    line-height: 55px;
                    text-align: center;
                    a {
                        display: block;
                        text-decoration: none;
                        height: 55px;
                        color: #3b3b3b;
                        font-size: 15px;
                        font-family: "Microsoft YaHei";
                        span {
                            border-top: 4px solid #3b3b3b;
                            display: block;
                            height: 51px;
                            width: 113px;
                            margin: auto;
                        }
                    }
                }

                li.current {
                    background: #3b3b3b;
                    a {
                        color: #fff;
                    }
                }
            }

            .takeIt {
                float: right;
                overflow: hidden;
                margin-right: 7px;
                span {
                    float: left;
                    color: #e60000;
                    font-size: 14px;
                    font-family: "Microsoft YaHei";
                    height: 50px;
                    line-height: 55px;
                    margin-right: 10px;
                }
                a {
                    float: left;
                    height: 30px;
                    width: 100px;
                    line-height: 30px;
                    text-indent: 30px;
                    color: #fff;
                    text-decoration: none;
                    background: url(../images/detail.images/childredSprit.png) no-repeat -335px -228px;
                    margin-top: 12px;
                }
            }
        }
    }

    .con3Line {
        width: 100%;
        margin-top: 20px;
        img {
            width: 1200px;
        }
    }
}

/*左侧悬浮*/
.leftSiderbar {
    width: 80px;
    // background-color: pink;
    position: fixed;
    left: 50%;
    top: 325px;
    margin-left: -680px;
    z-index: 999;
    a {
        display: block;
        margin-top: 10px;
    }
    img {
        width: 100%;
    }
}
/*右侧工具栏 回顶*/
.right-nav {
    width: 45px;
    height: 100%;
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 20;
    margin: -90px 0px 0px;
    // .w {
    //     // position: relative;
    // }
    ul {
        position: relative;
        right: 0;
        top: 0;
        z-index: 20;
    }
    li.frist {
        border-radius: 3px 0px 0px 0px;
        a {
            border-radius: 3px 0px 0px 0px;
        }
    }
    li {
        position: relative;
        left: 0;
        top: 0;
        height: 36px;
        width: 45px;
        text-align: center;
        background: #999999;
        .iconWrap {
            background: url(../images/nav6.jpg) no-repeat bottom center;
            height: 36px;
            position: relative;
            img {
                margin: 0px auto;
            }
        }
        .navMessage {
            position: absolute;
            right: -104px;
            padding-right: 46px;
            top: 0;
            z-index: -1;
            font-size: 12px;
            background: #e60000;
            color: #fff;
            height: 35px;
            width: 60px;
            line-height: 35px;
            text-align: center;
            border-radius: 3px;
            transition: all linear 300ms;
            a {
                display: block;
                color: #fff;
                text-decoration: none;
            }
        }
        &:hover {
            .iconWrap {
                background-color: #e60000;
            }
            .navMessage {
                right: 0px;
            }
        }
    }
}

// footer 偷懒区
.footImg {
    width: 100%;

    img {
        width: 1200px;
        // height: 414px;
        margin: 0px auto;
    }
}
